package com.rency.mtds.starter.client.annotation;

import java.lang.annotation.*;

/**
 * @author: caiyu.ren
 * Created on 2019/9/2 16:08
 * @version: V1.0.0
 * @since JDK 11
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MTDS {

    /**
     * database name or spring SPEL name
     * @return the database you want to switch
     */
    String value();
}
